import request from '@/utils/request'

// 查询HPLC-MS/TOF列表
export function listTdmHplcMsTof(query) {
  return request({
    url: '/tdm/TdmHplcMsTof/list',
    method: 'get',
    params: query
  })
}

// 查询HPLC-MS/TOF详细
export function getTdmHplcMsTof(id) {
  return request({
    url: '/tdm/TdmHplcMsTof/' + id,
    method: 'get'
  })
}

// 新增HPLC-MS/TOF
export function addTdmHplcMsTof(data) {
  return request({
    url: '/tdm/TdmHplcMsTof',
    method: 'post',
    data: data
  })
}

// 修改HPLC-MS/TOF
export function updateTdmHplcMsTof(data) {
  return request({
    url: '/tdm/TdmHplcMsTof',
    method: 'put',
    data: data
  })
}

// 删除HPLC-MS/TOF
export function delTdmHplcMsTof(id) {
  return request({
    url: '/tdm/TdmHplcMsTof/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
